package org.aristotle.demo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.aristotle.demo.model.entity.Book;
import org.aristotle.demo.model.vo.BookVO;

public interface IBookService extends IService<Book> {
    Page<BookVO> queryPageList(Long id, String title, Long categoryId, Integer current, Integer size);

    BookVO getById(Long id);

    Boolean removeById(Long id);

    Boolean removeCategoryId(Long id);
}
